package com.imooc.pan.server.modules.file.po;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class FileChunkMergePO implements Serializable {
    @NotBlank(message = "文件名称不能为空")
    private String filename;

    @NotBlank(message = "文件唯一标识不能为空")
    private String identifier;

    @NotNull(message = "文件总大小不能为空")
    private Long totalSize;

    @NotBlank(message = "文件的父文件夹ID不能为空")
    private String parentId;
}
